package com.fick.hibernate.model;

import java.util.Date;

/**
 * Question entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Question implements java.io.Serializable {

	// Fields

	private Integer questionId;

	private String questionContent;

	private Date questionDate;

	private String userName;

	private String userAddress;

	private String userTel;

	private String answerContent;

	private String adminName;

	private Date answerDate;

	private String ifanswer;
	
	/**
	 * 
	 */
	private String useremail;
	
	private String questiontitle;
	
	private Integer isshow;

	// Constructors

	/** default constructor */
	public Question() {
	}

	/** full constructor */
	public Question(String questionContent, Date questionDate, String userName, String userAddress, String userTel,
			String answerContent, String adminName, Date answerDate, String ifanswer,String useremail,String questiontitle,Integer isshow) {
		this.questionContent = questionContent;
		this.questionDate = questionDate;
		this.userName = userName;
		this.userAddress = userAddress;
		this.userTel = userTel;
		this.answerContent = answerContent;
		this.adminName = adminName;
		this.answerDate = answerDate;
		this.ifanswer = ifanswer;
		this.useremail = useremail;
		this.questiontitle = questiontitle;
		this.isshow = isshow;
	}

	// Property accessors

	public Integer getQuestionId() {
		return this.questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public String getQuestionContent() {
		return this.questionContent;
	}

	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}

	public Date getQuestionDate() {
		return this.questionDate;
	}

	public void setQuestionDate(Date questionDate) {
		this.questionDate = questionDate;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAddress() {
		return this.userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	public String getUserTel() {
		return this.userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getAnswerContent() {
		return this.answerContent;
	}

	public void setAnswerContent(String answerContent) {
		this.answerContent = answerContent;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public Date getAnswerDate() {
		return this.answerDate;
	}

	public void setAnswerDate(Date answerDate) {
		this.answerDate = answerDate;
	}

	public String getIfanswer() {
		return ifanswer;
	}

	public void setIfanswer(String ifanswer) {
		this.ifanswer = ifanswer;
	}

	public String getUseremail() {
		return useremail;
	}

	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}

	public String getQuestiontitle() {
		return questiontitle;
	}

	public void setQuestiontitle(String questiontitle) {
		this.questiontitle = questiontitle;
	}

	public Integer getIsshow() {
		return isshow;
	}

	public void setIsshow(Integer isshow) {
		this.isshow = isshow;
	}

}